package main
import (
	"fmt"
	"strings"
	"strconv"
)

func compare(v1,v2 string) int {
	arr1,arr2:=strings.Split(v1,"."),strings.Split(v2,".")
    for len(arr1)<len(arr2){
        arr1=append(arr1,"0")
    }
    for len(arr2)<len(arr1){
        arr2=append(arr2,"0")
    }
    for i:=0;i<len(arr1);i++{
        a,_:=strconv.Atoi(arr1[i])
        b,_:=strconv.Atoi(arr2[i])
        if a>b{
            return 1
        }else if a<b{
            return 2
        }
    }
	return 1
}



func max_version( version_list [][]string ) []int {
	ans:=make([]int,0)
	len1:=len(version_list)
	for i:=0;i<len1;i++{
		ans=append(ans,compare(version_list[i][0],version_list[i][1]))
	}
	return ans
}
func main()  {
	fmt.Printf("hello\n")
	return
}